package com.powerfl.frm.taf{
	
	import flash.display.*;
	
	public class TAF extends Sprite{
		
		include 'TAF/preloader.as';
		
		include 'TAF/air.as';
		include 'TAF/vars.as';
		include "TAF/pool.as";
		include 'TAF/init.as';
		include 'TAF/math.as';
		include "TAF/key.as";
		
		include "TAF/order.as";
		include "TAF/tag.as";
		include "TAF/tree.as";
		include "TAF/data.as";
		include "TAF/add.as";
		include "TAF/material.as";
		include "TAF/3d.as";
		include "TAF/vertex.as";
		
		include "TAF/flow.as";
		include "TAF/bind.as";
		
		include "TAF/util.as";
		include "TAF/lang.as";
		include "TAF/runner.as";
		include "TAF/bitmap.as";
		include "TAF/param.as";
		include "TAF/filter.as";
		include "TAF/tween.as";
		
		include 'TAF/parser.as';
		include "TAF/state.as";
		include "TAF/file.as";
		
		private var _initArg:*;
		private var _mode:int;

		public function TAF(){
			super();
			if( _initArg === '@@TAF_FLOW' ){
				_mode = 0;
			}else{
				_mode = 1;
				addEventListener( Event.ADDED_TO_STAGE, init ); 
			}
			_initArg = null;
		}
		protected function _init():void{}
	}
}